package com.yuan.user.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * MP配置
 * @Author yuan
 * @Date 2021/7/12 14:55
*/
@Configuration
@MapperScan("com.yuan.user.mapper")
public class MybatisPlusConfig {

    /**
     * 分页插件
     */
    //@Bean
    //public PaginationInterceptor paginationInterceptor(){
    //    return new PaginationInterceptor();
    //}
}
